Skip to content

Comments

Add ESLint + Ruff linting with CI enforcement#172

Merged
msaroufim merged 1 commit intomainfrom
add-eslint-ruff-linting
Feb 13, 2026
Merged

Add ESLint + Ruff linting with CI enforcement#172
msaroufim merged 1 commit intomainfrom
add-eslint-ruff-linting

Conversation

@msaroufim
Copy link
Member

Add Ruff for Python linting and enforce both Ruff and ESLint in CI. Fix all pre-existing lint errors across the codebase so both linters pass cleanly.

  • Add [tool.ruff] config to pyproject.toml (Python 3.12, line-length 120, E/F/I/W rules)
  • Add ruff to requirements.txt
  • Add "Lint Python" and "Lint frontend" steps to CI workflow (blocking, no continue-on-error)
  • Fix Python lint issues: unused imports, import sorting, undefined names, ambiguous variables, comparison style
  • Fix frontend lint issues: unused imports/vars, require() to import(), eslint-disable for hooks in useApi.ts
  • Downgrade no-explicit-any to warning in ESLint config (30+ instances, not practical to fix in bulk)
  • Document linting commands in CLAUDE.md

Add Ruff for Python linting and enforce both Ruff and ESLint in CI.
Fix all pre-existing lint errors across the codebase so both linters
pass cleanly.

- Add [tool.ruff] config to pyproject.toml (Python 3.12, line-length 120, E/F/I/W rules)
- Add ruff to requirements.txt
- Add "Lint Python" and "Lint frontend" steps to CI workflow (blocking, no continue-on-error)
- Fix Python lint issues: unused imports, import sorting, undefined names, ambiguous variables, comparison style
- Fix frontend lint issues: unused imports/vars, require() to import(), eslint-disable for hooks in useApi.ts
- Downgrade no-explicit-any to warning in ESLint config (30+ instances, not practical to fix in bulk)
- Document linting commands in CLAUDE.md
@msaroufim msaroufim temporarily deployed to kernelboard-add-eslint--ajjjaf February 13, 2026 07:42 Inactive
@msaroufim msaroufim merged commit 9029f1a into main Feb 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant